import {Injectable,Component,Directive,Pipe} from '@angular/core';
import {Http, Response} from '@angular/http';
import { Observable } from 'rxjs/Rx';
import {Data} from './items';

@Injectable()
export class SelectService {

  constructor(private http: Http) {}

  getSelectService() {
      return this.http.get('../assets/data/select.json').map(res => {
        return res.json().data;
      });
  }
}
